/*================================================================
*   Copyright (C) 2025 baichao All rights reserved.
*   
*   文件名称：main.c
*   创 建 者：baichao
*   创建日期：2025年01月02日
*   描    述：
*
================================================================*/


#include "Notification.h"
#include "EmailService.h"

int main() {
    EmailService email_service = {send_email_impl};
    Notification notification = {&email_service, notify_impl};

    notification.notify(&notification, "Hello, DIP!");
    return 0;
}

